#ifndef _THREAD_POOL_H_
#define _THREAD_POOL_H_

#ifdef _WIN32
#include "../pthreads/include/pthread.h"
#else
#include <pthread.h>
#endif

#include "settings.h"

/*
 * Variables
 */

pthread_t **consumerList;
pthread_t *producerThread;

/*
 * Methods
 */
void addSocket(int);
int removeSocket();
void init_thread_pool(settings_t*);
unsigned int size();

#endif
